/**
 * 商品实体类
 */
package tech.aistar.entity.trading;


import java.io.Serializable;

public class Goods implements Serializable {
    private Integer id;//商品id

    private String goodsName;//商品名称

    private String goodsTypeId;//商品类型id

    private Integer userId;//用户id

   private String avatarImages;//用户头像

    private String degree;//新旧程度

    private Double price;//价格
    private String goodsDetails;//商品简介
    private String goodsPicture;//商品图片

    private Integer praise;//点赞数

    private Integer browse;//浏览数

    private String place;//商品所在地

    private Integer wayToTrade;//交易方式

    private Integer realnameStatus;//实名认证

    private Integer creditStatus;//芝麻信用

    private Integer status;//商品状态

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(String goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAvatarImages() {
        return avatarImages;
    }

    public void setAvatarImages(String avatarImages) {
        this.avatarImages = avatarImages;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getGoodsPicture() {
        return goodsPicture;
    }

    public void setGoodsPicture(String goodsPicture) {
        this.goodsPicture = goodsPicture;
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    public Integer getBrowse() {
        return browse;
    }

    public void setBrowse(Integer browse) {
        this.browse = browse;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public Integer getWayToTrade() {
        return wayToTrade;
    }

    public void setWayToTrade(Integer wayToTrade) {
        this.wayToTrade = wayToTrade;
    }

    public Integer getRealnameStatus() {
        return realnameStatus;
    }

    public void setRealnameStatus(Integer realnameStatus) {
        this.realnameStatus = realnameStatus;
    }

    public Integer getCreditStatus() {
        return creditStatus;
    }

    public void setCreditStatus(Integer creditStatus) {
        this.creditStatus = creditStatus;
    }

    public String getGoodsDetails() {
        return goodsDetails;
    }

    public void setGoodsDetails(String goodsDetails) {
        this.goodsDetails = goodsDetails;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Goods{");
        sb.append("id=").append(id);
        sb.append(", goodsName='").append(goodsName).append('\'');
        sb.append(", goodsTypeId='").append(goodsTypeId).append('\'');
        sb.append(", userId=").append(userId);
        sb.append(", avatarImages='").append(avatarImages).append('\'');
        sb.append(", degree='").append(degree).append('\'');
        sb.append(", price=").append(price);
        sb.append(", goodsDetails='").append(goodsDetails).append('\'');
        sb.append(", goodsPicture='").append(goodsPicture).append('\'');
        sb.append(", praise=").append(praise);
        sb.append(", browse=").append(browse);
        sb.append(", place='").append(place).append('\'');
        sb.append(", wayToTrade=").append(wayToTrade);
        sb.append(", realnameStatus=").append(realnameStatus);
        sb.append(", creditStatus=").append(creditStatus);
        sb.append(", status=").append(status);
        sb.append('}');
        return sb.toString();
    }
}